package com.monkey.thread;

/**
 * @Author MonkeyBrother
 * @Date 2020/12/14 22:02
 * @Desc
 **/
public class Share {
    public int count = 10000;
    public void decrement() {
        synchronized (Share.class) {
            count--;
        }
    }
    public int getCount() {
        return count;
    }
}